package com.softserve.crazymachine.response;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Mykhailo Tys
 *
 */

public class Messages {

	public static String getMessage(int code) {
		Map<Integer, String> messages = new HashMap<Integer, String>();
		messages.put(200, "OK");
		messages.put(404, "Not found");
		return messages.get(code);
	}
}
